package org.rain.core.rbac.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.rain.core.model.PersistenceModel;

/**
 * created by yangtong on 2025/4/8 14:09:51
 * <br/>
 * 用户-部门关系
 */
@Data
@TableName("user_depart")
public class UserDepart extends PersistenceModel<UserDepart> {
    /**
     * 用户id
     */
    private String userId;

    /**
     * 角色id
     */
    private String departId;

    /**
     * 用户编码
     */
    private String userCode;

    /**
     * 部门编码
     */
    private String departCode;
}
